#pragma once

#include "SpriteText.h"
#include <iostream>
#include <iomanip>

#define BONUS_TEXT_PATH "PressStart2P.ttf"
#define BONUS_TEXT_SIZE 32
#define STARTING_BONUS 5000
#define TIME_BONUS 0.5

class Bonus : public SpriteText
{
public:
	Bonus();
	Bonus(int x, int y, const std::string message);
	virtual ~Bonus();

	void SubstractPoints(int points);

	int GetBonus() { return bonus; }

	void SetBonus(int bonus) { this->bonus = bonus; }
	void SetGameOver(bool gameOver) { this->gameOver = gameOver; }

	void Update(float dt);
private:
	int bonus;
	float currentTime;
	bool gameOver;
};

